package com.itheima.example;

public class Example03 {
    public static void main(String[] args) {
        String country = "中国";
        switch (country) {
            case "中国":
                System.out.println("你好: "+country);
                break;
            case "美国":
                System.out.println("hello: "+country);
                break;
            default:
                System.out.println("输入错误");
                break;
        }
    }
}
